// created by KI 22.04

#ifndef _PAGE_NDISTUNER_ETH_STATS_H_
#define _PAGE_NDISTUNER_ETH_STATS_H_

#include "afxwin.h"


// CPage_NDISTUNER_ETH_STATS dialog

class CPage_NDISTUNER_ETH_STATS : public CDialog
{
  DECLARE_DYNAMIC(CPage_NDISTUNER_ETH_STATS)

public:
  CPage_NDISTUNER_ETH_STATS(CWnd* pParent = NULL);   // standard constructor
  virtual ~CPage_NDISTUNER_ETH_STATS();

  // Dialog Data
  enum { IDD = IDD_NDISTUNER_ETH_STATS };

protected:
  virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

  DECLARE_MESSAGE_MAP()

public:
  afx_msg void OnBnClickedCancel();
  afx_msg void OnBnClickedOk();
  // scrolls the dialog
  void mScroll(int h, int v);
  virtual BOOL OnInitDialog();
  // variable for counting scrolling of dialog
  int m_VScrollCount, m_HScrollCount;

private:
  // functions prepares rectangle of control to move this control
  void PrepareRect(LPRECT pR, int h, int v);

public:
    virtual void GetClientRect(LPRECT lpRect);

private:
  // variable will be true if the client size was scanned
  bool m_IsScannedClientRect;
  RECT m_OriginalClientRect;

public:
  //CStatic m_Static_FieldFlags;
  CEdit m_Edit_RcvErrorAlignment;
  CStatic m_Static_RcvErrorAlignment;
  CStatic m_Static_XmitOneCollision;
  CEdit m_Edit_XmitOneCollision;
  CEdit m_Edit_XmitMoreCollisions;
  CStatic m_Static_XmitMoreCollisions;
  CStatic m_Static_XmitDeferred;
  CEdit m_Edit_XmitDeferred;
  CStatic m_Static_XmitMaxCollisions;
  CEdit m_Edit_XmitMaxCollisions;
  CStatic m_Static_RcvOverrun;
  CEdit m_Edit_RcvOverrun;
  CStatic m_Static_XmitUnderrun;
  CEdit m_Edit_XmitUnderrun;
  CStatic m_Static_XmitHeartbeatFailure;
  CEdit m_Edit_XmitHeartbeatFailure;
  CStatic m_Static_XmitTimesCrsLost;
  CEdit m_Edit_XmitTimesCrsLost;
  CStatic m_Static_XmitLateCollisions;
  CEdit m_Edit_XmitLateCollisions;
};

#endif